﻿@model XtremBiking.Web.Models.Solicitudes.RegistrarSolicitud

@{
    ViewBag.Title = XtremBiking.Recursos.Vistas.Solicitud.Create.Title;

    ReCaptcha.PublicKey = "6Lf5j-4SAAAAAH_uIJzkgNNRloS6g_w2i6F0oXSh";
}

<h2>@XtremBiking.Recursos.Vistas.Solicitud.Create.Title</h2>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>@XtremBiking.Recursos.Vistas.Solicitud.Create.Legend</legend>


        <div class="editor-label">
            @Html.LabelFor(model => model.TipoSolicitud)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.TipoSolicitud)
            @Html.ValidationMessageFor(model => model.TipoSolicitud)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Nombre)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Nombre)
            @Html.ValidationMessageFor(model => model.Nombre)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Mail)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Mail)
            @Html.ValidationMessageFor(model => model.Mail)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Telefono)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Telefono)
            @Html.ValidationMessageFor(model => model.Telefono)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Celular)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Celular)
            @Html.ValidationMessageFor(model => model.Celular)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Comentarios)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Comentarios)
            @Html.ValidationMessageFor(model => model.Comentarios)
        </div>

        <div class="editor-label">
            @XtremBiking.Recursos.Vistas.Solicitud.Create.TituloCaptcha
        </div>
        <div class="editor-field">
            @ReCaptcha.GetHtml(theme: "white", language:"es")
            @Html.ValidationMessage("captchaValidation")
        </div>
        <br />
        <p>
            <input type="submit" value="@XtremBiking.Recursos.Vistas.Solicitud.Create.BotonRegistrar" class="btn btn-success" />
             @Html.ActionLink(XtremBiking.Recursos.Vistas.Solicitud.Create.BotonCancelar, "Index", "Home", null , new { @class="btn btn-danger" })
@*            <input type="button" value="@XtremBiking.Recursos.Vistas.Solicitud.Create.BotonCancelar" class="btn btn-danger" onclick="@("window.location.href='" + @Url.Action("Index", "Home") + "'");" />*@

        </p>
    </fieldset>
}

@*@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}*@
